package com.chao.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author : Rookie
 * @description : 白名单路径
 * @date : 2022/1/25
 */
@Data
@Component
@ConfigurationProperties(prefix = IgnoreUrlsProperties.PREFIX)
@RefreshScope
public class IgnoreUrlsProperties {

    public static final String PREFIX = "secure.ignore";

    private List<String> whiteUrls;
}
